package com.ruoyi.ipms_patent.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/*专利*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Patent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /*专利主键id*/
    private Integer patendId;

    /*专利名称*/
    private String patendName;

    /*专利编号*/
    private String patendNo;

    /*专利类型字典*/
    private String patendTypeId;

    /*客户id*/
    private Integer customerId;

    /*专利材料*/
    private String patendMaterials;

    /*专利图标*/
    private String patendIcon;

    /**逻辑删除*/
    private String isDelete;

    /**乐观锁*/
    private Integer version;

    /**创建人*/
    private String createBy;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**更新人*/
    private String updateBy;

    /**更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
